<template>
  <div class="logo">
    <img src="@/assets/logo.png" alt="ZBOX" class="logo-image" />
  </div>
</template>

<style scoped>
.logo {
  margin-bottom: 40px;
  padding: 10px 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.logo-image {
  max-width: 100px;
  height: auto;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.logo-image:hover {
  transform: scale(1.05);
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: #4361ee;
  border-radius: 3px;
}

@media (min-width: 1400px) {
  .logo {
    margin-bottom: 50px;
  }

  .logo-image {
    max-width: 80px;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  .logo-image {
    max-width: 80px;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .logo-image {
    max-width: 80px;
  }
}

@media (max-width: 768px) {
  .logo-image {
    max-width: 80px;
  }
}
</style>
